ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = Makefile.in
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
		       config.sub configure depcomp install-sh ltmain.sh \
		       missing config.rpath mkinstalldirs 
SUBDIRS = 

INCLUDES = -I. \
         -I$(top_srcdir) \
	-Wall	\
	-DTHEME_PATH=\"$(pkgdatadir)\"  \
	-DPACKAGE_NAME=\"@PACKAGE_NAME@\"  \
	-Werror \
	@e_cflags@  

applicationsdir = $(pkgdatadir)/../applications/

filesdir = $(pkgdatadir)

bin_PROGRAMS =comic_reader

noinst_HEADERS =   	comic.h \
			comic_scrolling.h \
			comic_book_menu.h \
			comic_page_menu.h

comic_reader_SOURCES = comic_main.c \
		       comic.c \
		       comic_scrolling.c \
		       comic_book_menu.c \
		       comic_page_menu.c \
		       comic_page_menu.h \
		       comic_scrolling.h \
		       comic_book_menu.h \
		       comic.h 
		  

comic_reader_LDADD = @e_libs@ 

files_BIN = comic_reader

	     
EXTRA_DIST = $(files_BIN)

%.edj: %.edc
	$(EDJE_CC) $(EDJE_FLAGS) $< $@
	
clean-local:
	rm -rf *.edj *~
	
uninstall-hook:
	rm -rf $(datadir)


indent:
	astyle --style=linux -p -t -n --brackets=attach *.[ch]
